.container {
    position: relative;
    width: 300px;
    height: 524px;
    background-color: rgb(128, 126, 126);
    border: 10px solid #7793a9;
    border-radius: 15px;
    background: url(images/bg.png) no-repeat center center;
    margin: 200px auto;
}

.back-box {
    position: absolute;
    left: -33%;
    top: -16%;
    width: 166%;
    height: 129%;
    background: linear-gradient(to bottom, #abcae9, #ebf2fc);
    z-index: -1;
    border: 10px solid #7996a8;
    border-radius: 15px;
    box-shadow: 11px 12px #0a223c, -11px 12px #0a223c, 11px -11px #0a223c, -11px -11px #0a223c;
}


.mark {
    position: absolute;
    height: 100px;
    width: 105px;
    left: -53%;
    top: 3%;
    text-align: center;
    background-color: #1f1e1e;
    font-weight: 700;
    line-height: 57px;
    font-size: 22px;
    border: 6px solid #f7fffd;
    border-radius: 10px;
    color: #f4eded;
}

.mark::after {
    content: '';
    position: absolute;
    width: 131%;
    height: 132%;
    left: -26%;
    top: -23%;
    background: linear-gradient(to bottom, #88add5, #e9f0f4);
    z-index: -1;
    border-radius: 24px;
    border: 10px solid #0e203f;
}

.scores {
    position: absolute;
    font-size: 47px;
    left: -63%;
    top: -10%;
    width: 144px;
    height: 64px;
    font-weight: 900;
    color: #f9feff;
    letter-spacing: -5px;
    transform: skew(346deg);
    text-shadow: -5px -6px #0a223c;
    -webkit-text-stroke: 3px #858ca4;
    font-family: 'Arial Black', 'Gadget', sans-serif;
}

.tetris {
    position: absolute;
    font-size: 100px;
    right: -34%;
    top: -31%;
    font-weight: 900;
    color: #fbff04;
    letter-spacing: -5px;
    transform: skew(356deg);
    text-shadow: -9px 11px #0a223c;
    -webkit-text-stroke: 3px #bab424;
    font-family: 'Arial Black', 'Gadget', sans-serif;
}

.again {
    position: absolute;
    height: 80px;
    width: 80px;
    right: -125px;
    bottom: -20px;
    line-height: 30px;
    text-align: center;
    background-color: #ffffff;
    color: #161719;
    cursor: pointer;
    border-radius: 10px;
    user-select: none;
    border: 5px solid #0a223c;
    font-weight: 600;
    font-size: 22px;
    padding: 6px;
    box-shadow: inset 5px 5px #82b5e6,
        inset -5px -5px #b1e0f0;
    transition: all 0.3s;
}

.again_tx {
    position: absolute;
    font-size: 56px;
    right: -51%;
    bottom: 13%;
    width: 144px;
    height: 64px;
    font-weight: 900;
    color: #f9feff;
    letter-spacing: -4px;
    transform: skew(351deg);
    text-shadow: -5px -6px #0a223c;
    -webkit-text-stroke: 3px #858ca4;
    font-family: 'Arial Black', 'Gadget', sans-serif;
}

.again:hover {
    background-color: #82b5e6;
    box-shadow: inset 5px 5px #fff,
        inset -5px -5px #fff;
}

.keybord {
    position: absolute;
    width: 400px;
    height: 120px;
    right: 10px;
    bottom: 80px;
}

.key-top,
.key-left,
.key-right,
.key-bottom {
    position: absolute;
    width: 80px;
    height: 60px;
    background-color: #e0ecf7;
    line-height: 60px;
    text-align: center;
    padding-top: 6px;
    border-radius: 4px;
}

.keybord img {
    width: 50%;
    height: 60%;
}

.key-left {
    left: 0;
    bottom: 0;
    border: 3px solid #111010;
    border-right: none;
    padding-right: 5px;
}

.key-bottom {
    left: 80px;
    bottom: 0;
    border: 3px solid #000000;
}

.key-top {
    left: 80px;
    top: 0;
    border: 3px solid #111010;
    border-bottom: none;

}

.key-right {
    left: 160px;
    bottom: 0;
    border: 3px solid #111010;
    border-left: none;
    padding-left: 5px;
}

.kuai {
    position: absolute;
    width: 28px;
    height: 28px;
    /* border: 0.1px solid rgb(0, 0, 0); */
}

.ding {
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: rgb(243, 243, 243);
}

video {
    position: fixed;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -10;
}

/* h1 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-family: 'fangsong';
    color: rgb(1, 175, 255);
    text-shadow: 0 0 10px rgb(1, 175, 255),
        0 0 15px rgb(1, 175, 255),
        0 0 20px rgb(1, 175, 255);
} */
.boxs {
    position: absolute;
    top: 41%;
    left: 27%;
    width: 300px;
    transform: rotateZ(-90deg);
}


.item1,
.item2,
.item3,
.item4 {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid #1f1e1e;
    background-color: #ffcc00;
    margin: -2px;
    box-shadow: inset 9px 9px #ffeda9, inset -9px -9px #ffeda9;
}

.item1 {
    left: 0;
    bottom: 0
}

.item2 {
    left: 50px;
    bottom: 0
}

.item3 {
    left: 0;
    bottom: 50px;
}

.item4 {
    left: 100px;
    bottom: 0
}

.box2 {
    position: absolute;
    top: 33%;
    right: 18%;
    width: 300px;
}


.boxt1,
.boxt2,
.boxt3,
.boxt4 {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid #1f1e1e;
    background-color: #2d89a0;
    margin: -1px;
    box-shadow: inset 9px 9px #a3d3e1, inset -9px -9px #a3d3e1;
}

.boxt1 {
    left: 0;
    top: 0
}

.boxt2 {
    left: 50px;
    top: 0;
    margin-left: -4px;
}

.boxt3 {
    left: 47px;
    bottom: 0;
}

.boxt4 {
    left: 97px;
    bottom: 0;
    margin-left: -4px;
}

.box3 {
    position: absolute;
    bottom: 48%;
    right: 18%;
    width: 300px;
}


.boxm1,
.boxm2,
.boxm3,
.boxm4 {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid #1f1e1e;
    background-color: #ff9a56;
    margin: -1px;
    box-shadow: inset 9px 9px #fecca9, inset -9px -9px #fecca9;
}

.boxm1 {
    left: 3px;
    top: 0;

}

.boxm2 {
    left: 50px;
    top: 0;
}

.boxm3 {
    left: 97px;
    top: 0;
}

.boxm4 {
    left: 50px;
    bottom: 0;
}